package com.fsj.concurrency.annoations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Create  by wyj
 * DATE is: 2018-5-12 - 9:57
 * Description: 用来标记线程安全的类或写法
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE) //注解存在的范围
public @interface ThreadSafe {
    String value() default "";
}
